<script setup lang="ts">
import { onLaunch } from "@dcloudio/uni-app";
import { useAppStore } from "./stores/app";
import { useUserStore } from "./stores/user";
const appStore = useAppStore();

onLaunch(async () => {
    // await appStore.getConfig()
    // #ifdef H5
    const { status, page_status, page_url } = appStore.getH5Config;
    if (status == 0) {
        if (page_status == 1) return (location.href = page_url);
        uni.reLaunch({ url: "/pages/empty/empty" });
    }
    // #endif
});
</script>
<style lang="scss">
//
scroll-view ::v-deep ::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
    -webkit-appearance: none;
    background: transparent;
}
::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
    -webkit-appearance: none;
    background: transparent;
}
</style>
